
SYSTEMC_HOME := $(PWD)/../../sc/
export LD_LIBRARY_PATH := $(SYSTEMC_HOME)/lib


SYSTEMC_CFLAGS := -I$(SYSTEMC_HOME)/include -L$(SYSTEMC_HOME)/lib -lsystemc
CFLAGS := $(SYSTEMC_CFLAGS)

run:
	g++ $(CFLAGS) apb-flash.cc -o apb-flash.elf
	./apb-flash.elf

clean:
	rm -f *.o *.elf
